package com.kedi.usercenter.pcauthority.entity;

import java.io.Serializable;
import java.util.List;

public class AuthLableSource implements Serializable{
   
	private static final long serialVersionUID = 1L;
	int authSourceId;
    String id;
	String lable;
	String url;
	int button;
	String parentId;
    List<AuthLableSource> children;
    
    public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
    public int getButton() {
		return button;
	}
	public void setButton(int button) {
		this.button = button;
	}
    public List<AuthLableSource> getChildren() {
		return children;
	}
	public void setChildren(List<AuthLableSource> children) {
		this.children = children;
	}
	

	
	public int getAuthSourceId() {
		return authSourceId;
	}
	public void setAuthSourceId(int authSourceId) {
		this.authSourceId = authSourceId;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getLable() {
		return lable;
	}
	public void setLable(String lable) {
		this.lable = lable;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + authSourceId;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		AuthLableSource other = (AuthLableSource) obj;
		if (authSourceId != other.authSourceId)
			return false;
		return true;
	}
	
	
}
